<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>我的页面</title>
</head>
<body>

</body>
</html>
<script>
    console.log(document.title);  // 访问标题标签
    console.log(document.head);
    console.log(document.body);
    console.log(document.documentElement);
</script>